<div class="bjui-pageContent workflow-create">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">新建流程</h3>
        </div>
        <div class="panel-body">
            {{-- 请假流程 start --}}
            <form action="admin/administration/workflow/create/doc" data-toggle="ajaxform" type="post">
                {{--<input type="hidden" name="oa_contacts_id" value="1">--}}
                <table class="table table-border">
                    <tr>
                        <td colspan="4">流程单号:
                            <div class="row-input">
                                <input type="text" name="serial_number" data-rule="required" value="{{$serial_number}}">
                            </div>
                        </td>
                    </tr>
                    <tr><td colspan="4">流程标题: <input type="text" name="title" data-rule="required" ></td></tr>
                    <tr><td colspan="4"><textarea name="content" data-rule="required"></textarea></td></tr>
                    <tr>
                        <td colspan="2">
                            抄送: @include('admin.widgets.address-list',['findgrid_contacts_id' => 'copy_target_ids','findgrid_address_list_name'=>'operator_copy_input'] )
                        </td>
                        <td colspan="2">
                            终 审 人: @include('admin.widgets.address-list',['findgrid_contacts_id' => 'operator_id','findgrid_address_list_name'=>'operator_contacts_input'] )
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            上传附件:
                            <input type="file" data-name="enclosure_url"  data-toggle="webuploader" data-options="
                            {
                                pick: {label: '点击上传附件'},
                                server: '/admin/administration/workflow/upload-enclosure',
                                fileNumLimit: 1,
                                formData: {_token:'{{csrf_token()}}'},
                                required: true,
                                uploaded: '',
                                basePath: '',
                                accept: {
                                    title: '文件',
                                    mimeTypes: '.jpg,.png,'
                                }
                            }">
                        </td>
                    </tr>

                </table>
            </form>
            {{--请假流程 end--}}
        </div>
    </div>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">取消</button>
        </li>
        <li>
            <button type="submit" class="btn-default" data-icon="save">保存</button>
        </li>
    </ul>
</div>
<script>

</script>
<style>
    .workflow-create .table{
        max-width: 800px;
    }
    .workflow-create .table th,.workflow-create .table td{
        padding: 20px 0;
    }
</style>